cmake_minimum_required(VERSION 3.0.0)
project(NetworkCaptor VERSION 0.1.0)

#添加头文件
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/include/public)

# 添加源文件
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src SRC_LIST)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src/public SRC_LIST)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src/capture SRC_LIST)

# 指定生成目标
add_executable(${PROJECT_NAME} ${SRC_LIST})

# 添加库文件
target_link_libraries(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/lib/libglog.so)